<extend name="./public/frame.html"/>
<block name="content">
    <table class="layui-table">
        <col width="30%"/>
        <col width="70%"/>
        <tr>
            <td>司机姓名</td>
            <td>{$driver_name}</td>
        </tr>
        <tr>
            <td>银行</td>
            <td>
                <notempty name="bank_pic">
                    <img src="{$bank_pic}" title="{$bank_name}" alt="{$bank_name}"/>
                    <else/>
                    {$bank_name}
                </notempty>
            </td>
        </tr>
        <tr>
            <td>银行卡号</td>
            <td>{$bank_num}</td>
        </tr>
        <tr>
            <td>开户行地址</td>
            <td>{$bank_addr}</td>
        </tr>
        <tr>
            <td>账户名称</td>
            <td>{$real_name}</td>
        </tr>
    </table>
    <script>
        layui.use('layer', function(){
            var layer = layui.layer;
            layer.photos({
                photos: '.layer-photos-demo'
                ,anim: 5 //0-6的选择，指定弹出图片动画类型，默认随机（请注意，3.0之前的版本用shift参数）
                ,tab: function(pic, layero){
                    var str = "<div style='text-align: center'>"+pic.alt+"</div>";
                    layero.prepend(str);
                }
            });
        });
    </script>
</block>